package com.rimi.service.impl;

import com.rimi.bean.RoleBean;
import com.rimi.dao.RoleDao;
import com.rimi.dao.impl.RoleDaoImpl;
import com.rimi.service.RoleService;

import java.util.List;

public class RoleServiceImpl implements RoleService {

    private RoleDao roleDao=new RoleDaoImpl();

    @Override
    public List<RoleBean> getRoleList() {
        return roleDao.selectRoleList();
    }
}
